@import './public.less';

:global {
    .ol-scale-line{
        top: 10px !important;
        right: 10px !important;
        bottom: unset !important;
        left: unset !important;
        background: rgb(110 186 152) !important;
    }
}

/*定义滚动条宽高及背景，宽高分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar{
    width: 10px;
    height: 10px;
    background-color: @primary-color2;
}
/*定义滚动条的轨道，内阴影及圆角*/
::-webkit-scrollbar-track{
    box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    border-radius: 5px;
    background-color: @primary-color1;
}
/*定义滑块，内阴影及圆角*/
::-webkit-scrollbar-thumb{
    /*width: 10px;*/
    height: 1px;
    border-radius: 5px;
    box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background: rgba(0,0,0,0.4);
}
::-webkit-scrollbar-thumb:hover/*滑块效果*/
{
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: rgba(0,0,0,0.4);
}

